package com.xique.park.api;

import com.xique.common.core.constant.ServiceNameConstants;
import com.xique.common.core.web.domain.AjaxResult;
import com.xique.park.api.factory.RemoteParkConfigFallbackFactory;
import com.xique.park.api.factory.RemoteParkInfoFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 车场信息接口
 */
@FeignClient(contextId = "RemoteParkInfoService", value = ServiceNameConstants.PARK_BIZ_SERVICE, fallbackFactory = RemoteParkInfoFallbackFactory.class)
public interface RemoteParkInfoService {

    /**
     * 删除岗亭登录用户信息
     * @author liuxueli
     * @date 2021/12/13
     * @param parkId
     * @return com.xique.common.core.domain.R<java.lang.Boolean>
     */
    @PostMapping("parkInfo/init")
    AjaxResult initParkInfo(@RequestParam("parkId") Long parkId);


}
